package edu.turtlekit2.warbot.message;

import madkit.kernel.Message;

@SuppressWarnings("serial")
public class WarMessage extends Message {
	private int						_XSender = 0;
	private int						_YSender = 0;
	private int						_sender = 0;
	private String					_senderTeam = "";
	private String					_senderType = "";
	private String					_message = "";
	
	private String[]				_content = null;
	
	public WarMessage(int x, int y, int senderID, String teamSender, String typeSender, String message){
		_XSender = x;
		_YSender = y;
		_sender = senderID;
		_senderTeam = teamSender;
		_senderType = typeSender;
		_message = message;
	}
	
	public WarMessage(int x, int y, int senderID, String teamSender, String typeSender, String message, String[] content){
		_XSender = x;
		_YSender = y;
		_sender = senderID;
		_senderTeam = teamSender;
		_senderType = typeSender;
		_message = message;
		_content = content;
	}
	
	public int getXSender(){
		return _XSender;
	}
	
	public int getYsender(){
		return _YSender;
	}
	
	public int getSenderID(){
		return _sender;
	}
	
	public String getSenderTeam(){
		return _senderTeam;
	}
	
	public String getType(){
		return _senderType;
	}
	
	public String getMessage(){
		return _message;
	}
	
	public String[] getContent(){
		return _content;
	}
}